package zhuzg.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import zhuzg.feign.impl.TestAServiceFail;


@FeignClient(value = "serviceA",fallback = TestAServiceFail.class)
public interface TestAService {

    @RequestMapping( "testa/strjoin")
    public String strJoing(@RequestParam("stra") String stra,
                           @RequestParam("strb") String strb);

}
